package com.hfjava.practice02;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: com.hfjava
 * @ClassName: NewThread
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/26 19:16
 * @Copyright 大牛版板所有
 */
public class NewThread implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i < 50; i++) {
            try {
                java.lang.Thread.sleep(200);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println(java.lang.Thread.currentThread().getName());
        }
    }
}
